﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Xml.Linq;

namespace HPPUtil.Extensions
{
    public static class XDocumentExtension
    {
        public static string ToCompleteString(this XDocument doc)
        {
            return doc.Declaration.ToString() + doc.ToString();
        }
    }
}
